﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master"
    Inherits="System.Web.Mvc.ViewPage<MShop.Web.Models.SendMailModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    发送邮件
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="fullBox">
        <div id="formOutBox">
            <div id="formTitle">
                <div class="formTitleCard_c">
                    发送邮件</div>
                <div class="formTitlRight">
                    <img src="/Content/back.png" width="16" height="16" border="0" align="middle" style="margin-right: 3px;" />
                    <%: Html.ActionLink("返回", "Index") %>
                </div>
            </div>
            <div id="formBox">
                <% Html.EnableClientValidation(); %>
                <% using (Html.BeginForm())
                   {%>
                <%: Html.ValidationSummary(true) %>
                <table width="100%" border="0" cellspacing="0" cellpadding="3" class="formTable">
                    <tr>
                        <td width="80">
                            <%: Html.LabelFor(model => model.SendType)%>
                        </td>
                        <td>
                            <div>
                                <%=Html.Partial("sendtype",Model) %>
                            </div>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr id="spanSendType2" style="display: none;">
                        <td width="80">
                            个人邮件
                        </td>
                        <td >
                            <div>
                                <span  >
                                    <%=Html.TextAreaFor(m => m.Emails, new { style = "width:550px;height:50px;", @class = "txtarea" })%>
                                    <!--<input type="button" class="btn" value="浏览" />-->请输入用户邮件，多个用户邮件用","隔开。 </span>
                            </div>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr>
                        <td width="80">
                            <%: Html.LabelFor(model => model.Subject)%>
                        </td>
                        <td>
                            <%: Html.EditorFor(model => model.Subject)%>
                            <%: Html.ValidationMessageFor(model => model.Subject)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr>
                        <td width="80">
                            <%: Html.LabelFor(model => model.Body)%>
                        </td>
                        <td>
                            <%: Html.TextAreaFor(model => model.Body, new { @class = "ckeditor" })%>
                            <%: Html.ValidationMessageFor(model => model.Body)%>
                        </td>
                        <td width="5px;">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" align="center">
                            <input type="submit" value="发送" class="btn" />
                        </td>
                    </tr>
                </table>
                <% } %>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">
    <script type="text/javascript" src="/ck/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="/ck/ckeditor/_samples/sample.js"></script>
    <script type="text/javascript" src="/ck/ckfinder/ckfinder.js"></script>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphFooter" runat="server">
</asp:Content>
